package com.team.service.impl;


import com.team.mapper.DataDictionaryMapper;
import com.team.pojo.DataDictionary;
import com.team.service.DataDictionaryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class DataDictionaryServiceImpl implements DataDictionaryService {
 @Autowired
 private DataDictionaryMapper dataDictionaryMapper;
 @Override
 public List<DataDictionary> getDataDictionaryByName(String typename) {
  return dataDictionaryMapper.getDataDictionaryInfo(typename);
 }
}
